﻿<%@ Page Language="C#" MasterPageFile="~/Wap/Shop/ShopSite.Master"  AutoEventWireup="true" CodeBehind="ModuleView.aspx.cs" Inherits="ZLCMS.Web.Wap.Shop.ModuleView" %>
<%@ OutputCache Duration="600" VaryByParam="*" %>

<%@ Register src="~/Wap/Shop/Footer.ascx" tagname="Footer" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>--</title>
    <style type="text/css">
        .mot table{border:solid #ddd; border-width:1px 0px 0px 1px; font-size:12px;}
        .mot td{border:solid #ddd; border-width:0px 1px 1px 0px; padding: 3px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pages" runat="server">
<!--S page -->
<div data-role="page" id="mypage">
	
    <!--S content -->
	<div role="main" class="ui-content loaderHandler">
        <div class="refundTop">
            <a href="javascript:void(0)" onclick="history.back()" data-ajax="false"><img src="images/arrowLeftCom.png" /></a>
            <div prop="Module.ModuleName">加载中...</div>
        </div>

        <div style="margin: 1em 0.5em; color:#666" class="mot" prop="Module.Content">加载中...</div>
 	</div>
    <!--E content -->
	
    <!--S footer -->
	<div data-role="footer" data-position="fixed" data-tap-toggle="false">
            <uc1:Footer ID="Footer1" runat="server" />
    </div>
    <!--E footer -->
</div>
<!--E page -->


<script src="/wap/lib/common/loaderHandler.js" type="text/javascript"></script>

<script type="text/javascript">
    function initializePage() {
        var handler = $('.loaderHandler').loaderHandler();
        handler.initialize({
            command: 'Pub.LoadModuleData',
            parameter: { Id: '<%=Request["uid"]%>' },
            afterHandleResult: function (result, totalCount, container){
                //处理标题
                document.title = result.Module.ModuleName;
            }
        });
        handler.load();
    }
    $(function () {
        initializePage();
    });
</script>

</asp:Content>
